import {
  get,
  post,
  //postForm,
  del
} from '@/utils/http'
const packageName = `http://124.70.196.178:8080/intelligent_control_webservice_eeds`

/**
 * 老师信息
 */
// 获取全部老师信息
export function getTeacherInfos(params) {
  return get(`${packageName}/pc/teacherInfo/getTeacherInfos`, params)
}
// 获取老师信息列表
export function getTeacherInfoList(params) {
  return get(`${packageName}/pc/teacherInfo/getTeacherInfoList`, params)
}
// 获取老师信息详情
export function getTeacherInfo(params) {
  return get(`${packageName}/pc/teacherInfo/getTeacherInfo`, params)
}
// 删除老师信息
export function delTeacherInfo(params) {
  return del(`${packageName}/pc/teacherInfo/delTeacherInfo`, params)
}
// 保存老师信息
export function saveTeacherInfo(params) {
  return post(`${packageName}/pc/teacherInfo/saveTeacherInfo`, params)
}
// 导出老师信息
export function exportTeacherInfoList(params) {
  return post(`${packageName}/pc/teacherInfo/exportTeacherInfoList`, params)
}

/**
 * 学生信息
 */
// 获取全部学生信息
export function getStudentInfos(params) {
  return get(`${packageName}/pc/studentInfo/getStudentInfos`, params)
}
// 获取学生信息列表
export function getStudentInfoList(params) {
  return get(`${packageName}/pc/studentInfo/getStudentInfoList`, params)
}
// 获取学生信息详情
export function getStudentInfo(params) {
  return get(`${packageName}/pc/studentInfo/getStudentInfo`, params)
}
// 删除学生信息
export function delStudentInfo(params) {
  return del(`${packageName}/pc/studentInfo/delStudentInfo`, params)
}
// 保存学生信息
export function saveStudentInfo(params) {
  return post(`${packageName}/pc/studentInfo/saveStudentInfo`, params)
}
// 导出学生信息
export function exportStudentInfoList(params) {
  return post(`${packageName}/pc/studentInfo/exportStudentInfoList`, params)
}
